package producersConsumersTests.WaitingTime;

import producersConsumersTests.utils.RunnableWithId;

/**
 * TimedTask is a DummyTask that has fields to save its container insertion and
 * removal times.
 * 
 */
public class TimedTask extends RunnableWithId {
	protected long enterTime, exitTime;
	public enum WhenToMeasure {
		BEFORE, AFTER
	};

	public TimedTask(long id) {
		super(id);
	}

	public long getEnterTime() {
		return enterTime;
	}

	public void setEnterTime(long enterTime) {
		this.enterTime = enterTime;
	}

	public long getExitTime() {
		return exitTime;
	}

	public void setExitTime(long exitTime) {
		this.exitTime = exitTime;
	}

	@Override
	public void run() {

	}
}